package com.ranjiaqi.thread08;

/**
 * @ClassName Test
 * @Description TODO
 * @Author hp
 * @Date 2021/6/28 20:15
 * @Version 1.0
 **/
public class Test {
    public static void main(String[] args) {
        DeadLockTest deadLockTest = new DeadLockTest(true);
        DeadLockTest deadLockTest1 = new DeadLockTest(false);
        new Thread(deadLockTest).start();
        new Thread(deadLockTest1).start();
    }

}
